import request from '@/utils/request'

// 查询申请发布活动资格列表
export function listApplypush(query) {
  return request({
    url: '/member/applypush/list',
    method: 'get',
    params: query
  })
}

// 查询申请发布活动资格详细
export function getApplypush(id) {
  return request({
    url: '/member/applypush/' + id,
    method: 'get'
  })
}

// 新增申请发布活动资格
export function addApplypush(data) {
  return request({
    url: '/member/applypush',
    method: 'post',
    data: data
  })
}

// 修改申请发布活动资格
export function updateApplypush(data) {
  return request({
    url: '/member/applypush',
    method: 'put',
    data: data
  })
}

// 删除申请发布活动资格
export function delApplypush(id) {
  return request({
    url: '/member/applypush/' + id,
    method: 'delete'
  })
}

// 导出申请发布活动资格
export function exportApplypush(query) {
  return request({
    url: '/member/applypush/export',
    method: 'get',
    params: query
  })
}